package cn.wwxula.user.controller;

import cn.wwxula.user.model.dto.UserLoginDto;
import jakarta.validation.Valid;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author liyang23
 * @date 2024/12/09 17:35
 **/
@Validated
@RestController
@RequestMapping("/user")
public class UserController {
    @RequestMapping("/login")
    public String login(@RequestBody @Valid UserLoginDto userLoginDto){
        return "";
    }
}
